﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using Menu.Frm;
using System.Windows.Forms;

namespace Menu
{
    public partial class BPRibbon : OfficeRibbon
    {
        public BPRibbon()
        {
            InitializeComponent();
        }

        private void BPRibbon_Load(object sender, RibbonUIEventArgs e)
        {

        }

        private void button41_Click(object sender, RibbonControlEventArgs e)
        {

        }

        private void btnBasestationSetting_Click(object sender, RibbonControlEventArgs e)
        {
            FrmBasestationSetting frm = new FrmBasestationSetting();
            frm.ShowDialog();
        }

        private void btnKeyboardSetting_Click(object sender, RibbonControlEventArgs e)
        {
            FrmKeywordSetting frm = new FrmKeywordSetting();
            frm.ShowDialog();
        }

        private void btnKeyboardTest_Click(object sender, RibbonControlEventArgs e)
        {
            FrmKeywordTest frm = new FrmKeywordTest();
            frm.ShowDialog();
        }

        private void btnClose_Click(object sender, RibbonControlEventArgs e)
        {
            if (MessageBox.Show("是否关闭所有键盘？", "确认", MessageBoxButtons.YesNo,MessageBoxIcon.Question) == DialogResult.Yes)
            {

            }
            else
            {
            };
        }

        private void btnPeopleCount_Click(object sender, RibbonControlEventArgs e)
        {
            FrmPeopleCountSetting frm = new FrmPeopleCountSetting();
            frm.ShowDialog();
        }

        


    }
}
